//
//  JWCSettingViewController.m
//  TableView封装
//
//  Created by Ju on 14-8-20.
//  Copyright (c) 2014年 dono. All rights reserved.
//

#import "JWCSettingViewController.h"
#import "JWCSettingCellItem.h"
#import "JWCSection.h"

@interface JWCSettingViewController ()

@end

@implementation JWCSettingViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {

    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.title = @"推送";
//    _cellClassName = @"JWCSettingCell";
    
    JWCSettingCellItem *item1 = [[JWCSettingCellItem alloc] init];
    item1.title = @"开奖号码推送";
    item1.style = JWCSettingCellItemStyleArraw;
    
    
    JWCSettingCellItem *item2 = [[JWCSettingCellItem alloc] init];
    item2.title = @"中奖动画";
    item2.style = JWCSettingCellItemStyleNone;
    
    JWCSettingCellItem *item3 = [[JWCSettingCellItem alloc] init];
    item3.title = @"购彩票定时提醒";
    item3.style = JWCSettingCellItemStyleSwitch;
    
    JWCSection *group = [[JWCSection alloc] init];
    group.items = @[item1,item2,item3];
    
    [_allGroup addObject:group];
}


@end
